﻿using STHPMS1.ICore.I_Entity;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_DAL.Repository
{
    public interface IDr_Repair_MidRepository : IDal
    {




        /// <summary>
        /// 决策路段的弯沉检测点总和
        /// </summary>
        /// <param name="segid">决策路段</param>
        /// <returns></returns>
        int Sgeid_RepdeflCount(string segid);

        /// <summary>
        /// 决策路段的平均弯沉值
        /// </summary>
        /// <param name="sgeid">决策路段</param>
        /// <returns></returns>
        double Sgeid_AvageRepdefl(string segid);

        /// <summary>
        /// 决策路段弯沉标准差  公式上部分
        /// </summary>
        /// <param name="segid">决策路段</param>
        /// <param name="avagerepdefl">决策路段的平均弯沉值</param>
        /// <returns></returns>
        double Segid_RepdeflCha(string segid, double avagerepdefl);

    }
}
